#if DEBUG_VERSION
if (!dafos) {
  throw new Error("Dafos namespace not found!");
}
#endif

#if FRIENDSTAB

dafos.onFriendsTabActivated = function() {
  if (dafos.friendstab == null) {
    dafos.friendstab = new dafos.FriendsTab(document.getElementById("friendstab"), dafos.ui);
  }
  TRACK("tab/friends");
  RESIZE();
};

/**
 * Constructor
 */
dafos.FriendsTab = function(parent, ui) {
  LOG("[FriendsTab]");
  this.appengine = new dafos.AppEngine();
  var callbacks = {
  };
  this.gadgetui = ui;
  this.ui = new dafos.FriendsTabUI(parent, callbacks);
};




/**
 * Constructor
 */
dafos.FriendsTabUI = function(parent, callbacks) {
  LOG("[FriendsTabUI]");
  this.dom_parent = parent;
  this.render(callbacks);
};

dafos.FriendsTabUI.prototype.render = function(callbacks) {
  
};



#endif
